package com.neu.envprotection.feedback.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author ${author}
 * @date 2024/06/07
 */
public class City implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String city;

    /**
     * 对应的省的id
     */
    private Integer provienceId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Integer getProvienceId() {
        return provienceId;
    }

    public void setProvienceId(Integer provienceId) {
        this.provienceId = provienceId;
    }

    @Override
    public String toString() {
        return "City{" +
                "id=" + id +
                ", city=" + city +
                ", provienceId=" + provienceId +
                "}";
    }
}
